package vitamin.demo.certification.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;
import vitamin.demo.pojo.User;

@Mapper
@Repository
public interface AdminMapper {

    User getUserByusername(String username);

//    String getPasswordByusername(String username);

    void buildToken(String token_id,String username);

    String getToken(String username);

    void register(String username, String password, String nickname);
}


